<?php
/**
 * Sidebar of organizations profile
 *
 * @uses $vars['entity'] The content string for the main column
 */
$org = $vars['entity'];
?>

<div class="elgg-image-block">
	<div class="elgg-image">
		<div>
			<?php echo elgg_view_entity_icon($org, 'large', array('href' => $org->getUrl())); ?>
		</div>
		<div class="elgg-module  elgg-module-aside">
			<div class="elgg-head"><h3>Informacion basica</h3></div>
			<div class="elgg-body" style="padding: 0 10px;">
				<h4>Direcci&oacute;n:</h4> <span><?php echo $org->address; ?> </span><br>
				<h4>Tel&eacute;fono:</h4> <span><?php echo $org->phone; ?> </span><br>
				<h4>Web:</h4> 
				<span>
					<?php echo elgg_view('output/url',
					array('href'=> $org->web, 'text' => $org->web)); 
					?> 
				</span><br>
				<h4>CIF:</h4> <span><?php echo $org->cif; ?> </span><br>
			</div>
		</div>
	</div>
</div>